-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wip/docker refactoring #486
Conversation
* @return MAINTAINER if defined | ||
*/ | ||
private final def makeMaintainer(maintainer: String): Option[CmdLike] = | ||
if (maintainer == null || maintainer.isEmpty) None else Some(Cmd("MAINTAINER", maintainer)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can maintainer ever be null?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Too much Java code. Should not be possible
LGTM - just one use of null that concerns me. |
401f89b
to
816b770
Compare
Thanks for taking a look. I removed the critical parts. |
LGTM |
Would be awesome to have this one merged, so that I could easily be one of your first user of these features. In two words: need it cheers, |
816b770
to
5f101ac
Compare
Available in |
First rework of the docker API according to #453
Reviews appreciated @fiadliel , @huntc , @hseeberger